package com.beamfield.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class LabSfileExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LabSfileExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andSfile_noIsNull() {
            addCriterion("sfile_no is null");
            return (Criteria) this;
        }

        public Criteria andSfile_noIsNotNull() {
            addCriterion("sfile_no is not null");
            return (Criteria) this;
        }

        public Criteria andSfile_noEqualTo(String value) {
            addCriterion("sfile_no =", value, "sfile_no");
            return (Criteria) this;
        }

        public Criteria andSfile_noNotEqualTo(String value) {
            addCriterion("sfile_no <>", value, "sfile_no");
            return (Criteria) this;
        }

        public Criteria andSfile_noGreaterThan(String value) {
            addCriterion("sfile_no >", value, "sfile_no");
            return (Criteria) this;
        }

        public Criteria andSfile_noGreaterThanOrEqualTo(String value) {
            addCriterion("sfile_no >=", value, "sfile_no");
            return (Criteria) this;
        }

        public Criteria andSfile_noLessThan(String value) {
            addCriterion("sfile_no <", value, "sfile_no");
            return (Criteria) this;
        }

        public Criteria andSfile_noLessThanOrEqualTo(String value) {
            addCriterion("sfile_no <=", value, "sfile_no");
            return (Criteria) this;
        }

        public Criteria andSfile_noLike(String value) {
            addCriterion("sfile_no like", value, "sfile_no");
            return (Criteria) this;
        }

        public Criteria andSfile_noNotLike(String value) {
            addCriterion("sfile_no not like", value, "sfile_no");
            return (Criteria) this;
        }

        public Criteria andSfile_noIn(List<String> values) {
            addCriterion("sfile_no in", values, "sfile_no");
            return (Criteria) this;
        }

        public Criteria andSfile_noNotIn(List<String> values) {
            addCriterion("sfile_no not in", values, "sfile_no");
            return (Criteria) this;
        }

        public Criteria andSfile_noBetween(String value1, String value2) {
            addCriterion("sfile_no between", value1, value2, "sfile_no");
            return (Criteria) this;
        }

        public Criteria andSfile_noNotBetween(String value1, String value2) {
            addCriterion("sfile_no not between", value1, value2, "sfile_no");
            return (Criteria) this;
        }

        public Criteria andSfile_nameIsNull() {
            addCriterion("sfile_name is null");
            return (Criteria) this;
        }

        public Criteria andSfile_nameIsNotNull() {
            addCriterion("sfile_name is not null");
            return (Criteria) this;
        }

        public Criteria andSfile_nameEqualTo(String value) {
            addCriterion("sfile_name =", value, "sfile_name");
            return (Criteria) this;
        }

        public Criteria andSfile_nameNotEqualTo(String value) {
            addCriterion("sfile_name <>", value, "sfile_name");
            return (Criteria) this;
        }

        public Criteria andSfile_nameGreaterThan(String value) {
            addCriterion("sfile_name >", value, "sfile_name");
            return (Criteria) this;
        }

        public Criteria andSfile_nameGreaterThanOrEqualTo(String value) {
            addCriterion("sfile_name >=", value, "sfile_name");
            return (Criteria) this;
        }

        public Criteria andSfile_nameLessThan(String value) {
            addCriterion("sfile_name <", value, "sfile_name");
            return (Criteria) this;
        }

        public Criteria andSfile_nameLessThanOrEqualTo(String value) {
            addCriterion("sfile_name <=", value, "sfile_name");
            return (Criteria) this;
        }

        public Criteria andSfile_nameLike(String value) {
            addCriterion("sfile_name like", value, "sfile_name");
            return (Criteria) this;
        }

        public Criteria andSfile_nameNotLike(String value) {
            addCriterion("sfile_name not like", value, "sfile_name");
            return (Criteria) this;
        }

        public Criteria andSfile_nameIn(List<String> values) {
            addCriterion("sfile_name in", values, "sfile_name");
            return (Criteria) this;
        }

        public Criteria andSfile_nameNotIn(List<String> values) {
            addCriterion("sfile_name not in", values, "sfile_name");
            return (Criteria) this;
        }

        public Criteria andSfile_nameBetween(String value1, String value2) {
            addCriterion("sfile_name between", value1, value2, "sfile_name");
            return (Criteria) this;
        }

        public Criteria andSfile_nameNotBetween(String value1, String value2) {
            addCriterion("sfile_name not between", value1, value2, "sfile_name");
            return (Criteria) this;
        }

        public Criteria andSfile_numIsNull() {
            addCriterion("sfile_num is null");
            return (Criteria) this;
        }

        public Criteria andSfile_numIsNotNull() {
            addCriterion("sfile_num is not null");
            return (Criteria) this;
        }

        public Criteria andSfile_numEqualTo(String value) {
            addCriterion("sfile_num =", value, "sfile_num");
            return (Criteria) this;
        }

        public Criteria andSfile_numNotEqualTo(String value) {
            addCriterion("sfile_num <>", value, "sfile_num");
            return (Criteria) this;
        }

        public Criteria andSfile_numGreaterThan(String value) {
            addCriterion("sfile_num >", value, "sfile_num");
            return (Criteria) this;
        }

        public Criteria andSfile_numGreaterThanOrEqualTo(String value) {
            addCriterion("sfile_num >=", value, "sfile_num");
            return (Criteria) this;
        }

        public Criteria andSfile_numLessThan(String value) {
            addCriterion("sfile_num <", value, "sfile_num");
            return (Criteria) this;
        }

        public Criteria andSfile_numLessThanOrEqualTo(String value) {
            addCriterion("sfile_num <=", value, "sfile_num");
            return (Criteria) this;
        }

        public Criteria andSfile_numLike(String value) {
            addCriterion("sfile_num like", value, "sfile_num");
            return (Criteria) this;
        }

        public Criteria andSfile_numNotLike(String value) {
            addCriterion("sfile_num not like", value, "sfile_num");
            return (Criteria) this;
        }

        public Criteria andSfile_numIn(List<String> values) {
            addCriterion("sfile_num in", values, "sfile_num");
            return (Criteria) this;
        }

        public Criteria andSfile_numNotIn(List<String> values) {
            addCriterion("sfile_num not in", values, "sfile_num");
            return (Criteria) this;
        }

        public Criteria andSfile_numBetween(String value1, String value2) {
            addCriterion("sfile_num between", value1, value2, "sfile_num");
            return (Criteria) this;
        }

        public Criteria andSfile_numNotBetween(String value1, String value2) {
            addCriterion("sfile_num not between", value1, value2, "sfile_num");
            return (Criteria) this;
        }

        public Criteria andCon_numIsNull() {
            addCriterion("con_num is null");
            return (Criteria) this;
        }

        public Criteria andCon_numIsNotNull() {
            addCriterion("con_num is not null");
            return (Criteria) this;
        }

        public Criteria andCon_numEqualTo(String value) {
            addCriterion("con_num =", value, "con_num");
            return (Criteria) this;
        }

        public Criteria andCon_numNotEqualTo(String value) {
            addCriterion("con_num <>", value, "con_num");
            return (Criteria) this;
        }

        public Criteria andCon_numGreaterThan(String value) {
            addCriterion("con_num >", value, "con_num");
            return (Criteria) this;
        }

        public Criteria andCon_numGreaterThanOrEqualTo(String value) {
            addCriterion("con_num >=", value, "con_num");
            return (Criteria) this;
        }

        public Criteria andCon_numLessThan(String value) {
            addCriterion("con_num <", value, "con_num");
            return (Criteria) this;
        }

        public Criteria andCon_numLessThanOrEqualTo(String value) {
            addCriterion("con_num <=", value, "con_num");
            return (Criteria) this;
        }

        public Criteria andCon_numLike(String value) {
            addCriterion("con_num like", value, "con_num");
            return (Criteria) this;
        }

        public Criteria andCon_numNotLike(String value) {
            addCriterion("con_num not like", value, "con_num");
            return (Criteria) this;
        }

        public Criteria andCon_numIn(List<String> values) {
            addCriterion("con_num in", values, "con_num");
            return (Criteria) this;
        }

        public Criteria andCon_numNotIn(List<String> values) {
            addCriterion("con_num not in", values, "con_num");
            return (Criteria) this;
        }

        public Criteria andCon_numBetween(String value1, String value2) {
            addCriterion("con_num between", value1, value2, "con_num");
            return (Criteria) this;
        }

        public Criteria andCon_numNotBetween(String value1, String value2) {
            addCriterion("con_num not between", value1, value2, "con_num");
            return (Criteria) this;
        }

        public Criteria andRelease_dateIsNull() {
            addCriterion("release_date is null");
            return (Criteria) this;
        }

        public Criteria andRelease_dateIsNotNull() {
            addCriterion("release_date is not null");
            return (Criteria) this;
        }

        public Criteria andRelease_dateEqualTo(Date value) {
            addCriterion("release_date =", value, "release_date");
            return (Criteria) this;
        }

        public Criteria andRelease_dateNotEqualTo(Date value) {
            addCriterion("release_date <>", value, "release_date");
            return (Criteria) this;
        }

        public Criteria andRelease_dateGreaterThan(Date value) {
            addCriterion("release_date >", value, "release_date");
            return (Criteria) this;
        }

        public Criteria andRelease_dateGreaterThanOrEqualTo(Date value) {
            addCriterion("release_date >=", value, "release_date");
            return (Criteria) this;
        }

        public Criteria andRelease_dateLessThan(Date value) {
            addCriterion("release_date <", value, "release_date");
            return (Criteria) this;
        }

        public Criteria andRelease_dateLessThanOrEqualTo(Date value) {
            addCriterion("release_date <=", value, "release_date");
            return (Criteria) this;
        }

        public Criteria andRelease_dateIn(List<Date> values) {
            addCriterion("release_date in", values, "release_date");
            return (Criteria) this;
        }

        public Criteria andRelease_dateNotIn(List<Date> values) {
            addCriterion("release_date not in", values, "release_date");
            return (Criteria) this;
        }

        public Criteria andRelease_dateBetween(Date value1, Date value2) {
            addCriterion("release_date between", value1, value2, "release_date");
            return (Criteria) this;
        }

        public Criteria andRelease_dateNotBetween(Date value1, Date value2) {
            addCriterion("release_date not between", value1, value2, "release_date");
            return (Criteria) this;
        }

        public Criteria andImple_dateIsNull() {
            addCriterion("imple_date is null");
            return (Criteria) this;
        }

        public Criteria andImple_dateIsNotNull() {
            addCriterion("imple_date is not null");
            return (Criteria) this;
        }

        public Criteria andImple_dateEqualTo(Date value) {
            addCriterion("imple_date =", value, "imple_date");
            return (Criteria) this;
        }

        public Criteria andImple_dateNotEqualTo(Date value) {
            addCriterion("imple_date <>", value, "imple_date");
            return (Criteria) this;
        }

        public Criteria andImple_dateGreaterThan(Date value) {
            addCriterion("imple_date >", value, "imple_date");
            return (Criteria) this;
        }

        public Criteria andImple_dateGreaterThanOrEqualTo(Date value) {
            addCriterion("imple_date >=", value, "imple_date");
            return (Criteria) this;
        }

        public Criteria andImple_dateLessThan(Date value) {
            addCriterion("imple_date <", value, "imple_date");
            return (Criteria) this;
        }

        public Criteria andImple_dateLessThanOrEqualTo(Date value) {
            addCriterion("imple_date <=", value, "imple_date");
            return (Criteria) this;
        }

        public Criteria andImple_dateIn(List<Date> values) {
            addCriterion("imple_date in", values, "imple_date");
            return (Criteria) this;
        }

        public Criteria andImple_dateNotIn(List<Date> values) {
            addCriterion("imple_date not in", values, "imple_date");
            return (Criteria) this;
        }

        public Criteria andImple_dateBetween(Date value1, Date value2) {
            addCriterion("imple_date between", value1, value2, "imple_date");
            return (Criteria) this;
        }

        public Criteria andImple_dateNotBetween(Date value1, Date value2) {
            addCriterion("imple_date not between", value1, value2, "imple_date");
            return (Criteria) this;
        }

        public Criteria andSfile_idIsNull() {
            addCriterion("sfile_id is null");
            return (Criteria) this;
        }

        public Criteria andSfile_idIsNotNull() {
            addCriterion("sfile_id is not null");
            return (Criteria) this;
        }

        public Criteria andSfile_idEqualTo(Long value) {
            addCriterion("sfile_id =", value, "sfile_id");
            return (Criteria) this;
        }

        public Criteria andSfile_idNotEqualTo(Long value) {
            addCriterion("sfile_id <>", value, "sfile_id");
            return (Criteria) this;
        }

        public Criteria andSfile_idGreaterThan(Long value) {
            addCriterion("sfile_id >", value, "sfile_id");
            return (Criteria) this;
        }

        public Criteria andSfile_idGreaterThanOrEqualTo(Long value) {
            addCriterion("sfile_id >=", value, "sfile_id");
            return (Criteria) this;
        }

        public Criteria andSfile_idLessThan(Long value) {
            addCriterion("sfile_id <", value, "sfile_id");
            return (Criteria) this;
        }

        public Criteria andSfile_idLessThanOrEqualTo(Long value) {
            addCriterion("sfile_id <=", value, "sfile_id");
            return (Criteria) this;
        }

        public Criteria andSfile_idIn(List<Long> values) {
            addCriterion("sfile_id in", values, "sfile_id");
            return (Criteria) this;
        }

        public Criteria andSfile_idNotIn(List<Long> values) {
            addCriterion("sfile_id not in", values, "sfile_id");
            return (Criteria) this;
        }

        public Criteria andSfile_idBetween(Long value1, Long value2) {
            addCriterion("sfile_id between", value1, value2, "sfile_id");
            return (Criteria) this;
        }

        public Criteria andSfile_idNotBetween(Long value1, Long value2) {
            addCriterion("sfile_id not between", value1, value2, "sfile_id");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andOperatorIsNull() {
            addCriterion("operator is null");
            return (Criteria) this;
        }

        public Criteria andOperatorIsNotNull() {
            addCriterion("operator is not null");
            return (Criteria) this;
        }

        public Criteria andOperatorEqualTo(Long value) {
            addCriterion("operator =", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotEqualTo(Long value) {
            addCriterion("operator <>", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorGreaterThan(Long value) {
            addCriterion("operator >", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorGreaterThanOrEqualTo(Long value) {
            addCriterion("operator >=", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLessThan(Long value) {
            addCriterion("operator <", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLessThanOrEqualTo(Long value) {
            addCriterion("operator <=", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorIn(List<Long> values) {
            addCriterion("operator in", values, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotIn(List<Long> values) {
            addCriterion("operator not in", values, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorBetween(Long value1, Long value2) {
            addCriterion("operator between", value1, value2, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotBetween(Long value1, Long value2) {
            addCriterion("operator not between", value1, value2, "operator");
            return (Criteria) this;
        }

        public Criteria andAddtimeIsNull() {
            addCriterion("addtime is null");
            return (Criteria) this;
        }

        public Criteria andAddtimeIsNotNull() {
            addCriterion("addtime is not null");
            return (Criteria) this;
        }

        public Criteria andAddtimeEqualTo(Date value) {
            addCriterion("addtime =", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeNotEqualTo(Date value) {
            addCriterion("addtime <>", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeGreaterThan(Date value) {
            addCriterion("addtime >", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("addtime >=", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeLessThan(Date value) {
            addCriterion("addtime <", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeLessThanOrEqualTo(Date value) {
            addCriterion("addtime <=", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeIn(List<Date> values) {
            addCriterion("addtime in", values, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeNotIn(List<Date> values) {
            addCriterion("addtime not in", values, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeBetween(Date value1, Date value2) {
            addCriterion("addtime between", value1, value2, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeNotBetween(Date value1, Date value2) {
            addCriterion("addtime not between", value1, value2, "addtime");
            return (Criteria) this;
        }

        public Criteria andUpdaterIsNull() {
            addCriterion("updater is null");
            return (Criteria) this;
        }

        public Criteria andUpdaterIsNotNull() {
            addCriterion("updater is not null");
            return (Criteria) this;
        }

        public Criteria andUpdaterEqualTo(Long value) {
            addCriterion("updater =", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterNotEqualTo(Long value) {
            addCriterion("updater <>", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterGreaterThan(Long value) {
            addCriterion("updater >", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterGreaterThanOrEqualTo(Long value) {
            addCriterion("updater >=", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterLessThan(Long value) {
            addCriterion("updater <", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterLessThanOrEqualTo(Long value) {
            addCriterion("updater <=", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterIn(List<Long> values) {
            addCriterion("updater in", values, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterNotIn(List<Long> values) {
            addCriterion("updater not in", values, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterBetween(Long value1, Long value2) {
            addCriterion("updater between", value1, value2, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterNotBetween(Long value1, Long value2) {
            addCriterion("updater not between", value1, value2, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("updatetime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("updatetime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("updatetime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("updatetime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("updatetime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updatetime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("updatetime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("updatetime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("updatetime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("updatetime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("updatetime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("updatetime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andBeam_idIsNull() {
            addCriterion("beam_id is null");
            return (Criteria) this;
        }

        public Criteria andBeam_idIsNotNull() {
            addCriterion("beam_id is not null");
            return (Criteria) this;
        }

        public Criteria andBeam_idEqualTo(Long value) {
            addCriterion("beam_id =", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idNotEqualTo(Long value) {
            addCriterion("beam_id <>", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idGreaterThan(Long value) {
            addCriterion("beam_id >", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idGreaterThanOrEqualTo(Long value) {
            addCriterion("beam_id >=", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idLessThan(Long value) {
            addCriterion("beam_id <", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idLessThanOrEqualTo(Long value) {
            addCriterion("beam_id <=", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idIn(List<Long> values) {
            addCriterion("beam_id in", values, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idNotIn(List<Long> values) {
            addCriterion("beam_id not in", values, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idBetween(Long value1, Long value2) {
            addCriterion("beam_id between", value1, value2, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idNotBetween(Long value1, Long value2) {
            addCriterion("beam_id not between", value1, value2, "beam_id");
            return (Criteria) this;
        }

        public Criteria andLinkIsNull() {
            addCriterion("link is null");
            return (Criteria) this;
        }

        public Criteria andLinkIsNotNull() {
            addCriterion("link is not null");
            return (Criteria) this;
        }

        public Criteria andLinkEqualTo(String value) {
            addCriterion("link =", value, "link");
            return (Criteria) this;
        }

        public Criteria andLinkNotEqualTo(String value) {
            addCriterion("link <>", value, "link");
            return (Criteria) this;
        }

        public Criteria andLinkGreaterThan(String value) {
            addCriterion("link >", value, "link");
            return (Criteria) this;
        }

        public Criteria andLinkGreaterThanOrEqualTo(String value) {
            addCriterion("link >=", value, "link");
            return (Criteria) this;
        }

        public Criteria andLinkLessThan(String value) {
            addCriterion("link <", value, "link");
            return (Criteria) this;
        }

        public Criteria andLinkLessThanOrEqualTo(String value) {
            addCriterion("link <=", value, "link");
            return (Criteria) this;
        }

        public Criteria andLinkLike(String value) {
            addCriterion("link like", value, "link");
            return (Criteria) this;
        }

        public Criteria andLinkNotLike(String value) {
            addCriterion("link not like", value, "link");
            return (Criteria) this;
        }

        public Criteria andLinkIn(List<String> values) {
            addCriterion("link in", values, "link");
            return (Criteria) this;
        }

        public Criteria andLinkNotIn(List<String> values) {
            addCriterion("link not in", values, "link");
            return (Criteria) this;
        }

        public Criteria andLinkBetween(String value1, String value2) {
            addCriterion("link between", value1, value2, "link");
            return (Criteria) this;
        }

        public Criteria andLinkNotBetween(String value1, String value2) {
            addCriterion("link not between", value1, value2, "link");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}